﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCEntity.TMS.NightFreightConfiguration
{
    /// <summary>
    /// 夜间运费配置
    /// </summary>
    public class NightFreightConfigurationEntity
    {
        /// <summary>
        /// 夜间运费配置ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long NightFreightConfigurationId { get; set; }

        /// <summary>
        /// 订单抽取比例(百分比)
        /// </summary>
        public int OrderExtractProportion { get; set; }

        /// <summary>
        /// 开始小时
        /// </summary>
        public int StartHour { get; set; }

        /// <summary>
        /// 开始分钟
        /// </summary>
        public int StartMinute { get; set; }

        /// <summary>
        /// 结束小时
        /// </summary>
        public int EndHour { get; set; }

        /// <summary>
        /// 结束分钟
        /// </summary>
        public int EndMinute { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 修改人Id
        /// </summary>
        public long? EditAdminId { get; set; }

        /// <summary>
        /// 修改人名称
        /// </summary>
        public string EditAdminName { get; set; }
    }
}
